/*
 * Created on 03/12/2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package org.mushroomdb.transaction;

import java.util.Iterator;

import org.mushroomdb.catalog.Column;
import org.mushroomdb.catalog.EncodeableRegister;
import org.mushroomdb.catalog.Register;
import org.mushroomdb.catalog.Table;

/**
 * @author Tomas
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class TransactionalTable implements Table, TransactionalResource{

    /* (non-Javadoc)
     * @see org.mushroomdb.catalog.Table#getName()
     */
    public String getName() {
        // TODO Auto-generated method stub
        return null;
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.catalog.Table#setName(java.lang.String)
     */
    public void setName(String name) {
        // TODO Auto-generated method stub
        
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.catalog.Table#getColumns()
     */
    public Iterator getColumns() {
        // TODO Auto-generated method stub
        return null;
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.catalog.Table#addColumn(org.mushroomdb.catalog.Column)
     */
    public void addColumn(Column column) {
        // TODO Auto-generated method stub
        
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.catalog.Table#getColumn(java.lang.String)
     */
    public Column getColumn(String name) {
        // TODO Auto-generated method stub
        return null;
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.catalog.Table#getRegisters()
     */
    public Iterator getRegisters() {
        // TODO Auto-generated method stub
        return null;
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.catalog.Table#getPages()
     */
    public Iterator getPages() {
        // TODO Auto-generated method stub
        return null;
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.catalog.Table#insertRegister(org.mushroomdb.catalog.EncodeableRegister)
     */
    public void insertRegister(EncodeableRegister register) {
        // TODO Auto-generated method stub
        
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.catalog.Table#getRegisterCount()
     */
    public long getRegisterCount() {
        // TODO Auto-generated method stub
        return 0;
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.transaction.TransactionalResource#onCommit()
     */
    public void onCommit() {
        // TODO Auto-generated method stub
        
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.transaction.TransactionalResource#onRollback()
     */
    public void onRollback() {
        // TODO Auto-generated method stub
        
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.transaction.TransactionalResource#onBeginTrx()
     */
    public void onBeginTrx() {
        // TODO Auto-generated method stub
        
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.transaction.TransactionalResource#isInTrx()
     */
    public boolean isInTrx() {
        // TODO Auto-generated method stub
        return false;
    }

    /* (non-Javadoc)
     * @see org.mushroomdb.catalog.Table#deleteRegister(org.mushroomdb.catalog.Register)
     */
    public boolean deleteRegister(Register register) {
        // TODO Auto-generated method stub
        return false;
    }

}
